package Contact;

public class Contacts {
    public String name;
    public int age;
    public String emil;
    public String call;

    public Contacts(String name, int age, String emil, String call) {
        this.name = name;
        this.age = age;
        this.emil = emil;
        this.call = call;
    }

    @Override
    public String toString() {
        return "Contacts{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", emil='" + emil + '\'' +
                ", sex='" + call + '\'' +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getEmil() {
        return emil;
    }

    public void setEmil(String emil) {
        this.emil = emil;
    }

    public String getCall() {
        return call;
    }

    public void setCAll(String call) {
        this.call = call;
    }
}
